package com.fivefu.core.skyeye.event.vo;

import com.fivefu.core.skyeye.event.entity.DbAiSceneType;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 识别类型
 * </p>
 *
 * @author 
 * @since 2022-08-22 10:38:12
 */
public class SceneTypeVo {

    @ApiModelProperty(value = "自增ID")
    private Long id;

    @ApiModelProperty(value = "编号",required = true)
    private Integer cvId;

    @ApiModelProperty(value = "名称",required = true)
    private String cvName;

    @ApiModelProperty(value = "描述")
    private String cvDesc;

    @ApiModelProperty(value = "识别参数")
    private String cvParam;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getCvId() {
        return cvId;
    }

    public void setCvId(Integer cvId) {
        this.cvId = cvId;
    }

    public String getCvName() {
        return cvName;
    }

    public void setCvName(String cvName) {
        this.cvName = cvName;
    }

    public String getCvDesc() {
        return cvDesc;
    }

    public void setCvDesc(String cvDesc) {
        this.cvDesc = cvDesc;
    }

    public String getCvParam() {
        return cvParam;
    }

    public void setCvParam(String cvParam) {
        this.cvParam = cvParam;
    }

    public DbAiSceneType formatSceneType(){
        DbAiSceneType sceneType = new DbAiSceneType();
        sceneType.setId(this.id);
        sceneType.setCvId(this.cvId);
        sceneType.setCvName(this.cvName);
        sceneType.setCvDesc(this.cvDesc);
        sceneType.setCvParam(this.cvParam);
        return sceneType;
    }
}
